<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>Starscamp</title>
    <link rel="stylesheet" href="<?php echo base_url('assets/css/nivo-slider/default.css'); ?>" media="screen">
    <link rel="stylesheet" href="<?php echo base_url('assets/css/nivo-slider/nivo-slider.css'); ?>" media="screen">
</head>
<body style="background-color:#004349">
	<div class="theme-default">
		<div id="slider" class="nivoSlider">
		<?php foreach($result as $row) { ?>
			<img src="<?php echo base_url($row->photo); ?>" alt="">
		<?php } ?>
		</div>
	</div>
    <script src="<?php echo base_url('assets/js/jquery.tools.min.js'); ?>"></script>
    <script src="<?php echo base_url('assets/js/jquery.easing.js'); ?>"></script>
    <script src="<?php echo base_url('assets/js/jquery.nivo.slider.js'); ?>"></script>
    <script>
    $(window).load(function() {
        $('#slider').nivoSlider({
			effect: "slideInLeft",
			animSpeed: 600,
			pauseTime: 5000,
			directionNav: false,
			pauseOnHover: false
		});
    });
    </script>
</body>
</html>